﻿// *****************************************************************************
// **                   Ladenius MediaCenter TVSeries                         **
// ** ----------------------------------------------------------------------- **
// ** (c) 2008 by Jurjen Ladenius                                             **
// *****************************************************************************

#region Using directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#endregion

namespace Ladenius.Series.Path.Entities {
    /// <summary>
    /// Path progress event arguments
    /// </summary>
    public class PathProgressEventArgs {

        #region Constructor
        /// <summary>
        /// Initializes a new instance of the <see cref="PathProgressEventArgs"/> class.
        /// </summary>
        public PathProgressEventArgs() {
            Percentage = int.MinValue;
            Message = string.Empty;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="PathProgressEventArgs"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public PathProgressEventArgs(string message) : this() {
            Message = message;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="PathProgressEventArgs"/> class.
        /// </summary>
        /// <param name="percentage">The percentage.</param>
        /// <param name="message">The message.</param>
        public PathProgressEventArgs(int percentage, string message) : this(message) {
            Percentage = percentage;
        }
        #endregion

        #region Properties
        /// <summary>
        /// Gets or sets the percentage.
        /// </summary>
        /// <value>The percentage.</value>
        public int Percentage { get; set; }

        /// <summary>
        /// Gets or sets the message.
        /// </summary>
        /// <value>The message.</value>
        public string Message { get; set; }
        #endregion
    }
}
